FROM java:8

LABEL maintainer="hotel"
WORKDIR /opt/hotel-tv-user/

ADD src/java/hotel-tv-user/target/lib /opt/hotel-tv-user/lib
ADD src/java/hotel-tv-user/target/resources /opt/hotel-tv-user/resources
ADD src/java/hotel-tv-user/target/hotel-tv-web-user*.jar /opt/hotel-tv-user/hotel-tv-web-user.jar

EXPOSE 8080

ENTRYPOINT [ "java","-jar","hotel-tv-web-user.jar" ]